package com.vf.admin.miaodong.service.impl;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.dao.AfterFansClubDao;
import com.vf.admin.miaodong.entity.AppFansClub;
import com.vf.admin.miaodong.service.AfterFansClubService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 粉丝团
 */
@Service
public class AfterFansClubServiceImpl implements AfterFansClubService {

    @Autowired
    AfterFansClubDao afterFansClubDao;

    /**
     * 查询列表
     */
    @Override
    public List<AppFansClub> list(Map<String, Object> paraMap, SplitPageBean splitPage) {
        return afterFansClubDao.list(paraMap, splitPage);
    }

    /**
     * 详情
     */
    @Override
    public AppFansClub get(Integer id) {
        return afterFansClubDao.get(id);
    }

    /**
     * 添加/修改
     */
    @Override
    public void save(AppFansClub haoYou) {
        afterFansClubDao.save(haoYou);
    }

    /**
     * 删除
     */
    @Override
    public void del(Integer id) {
        afterFansClubDao.del(id);
    }
}
